package com.louzhu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.louzhu.common.utils.PageUtils;
import com.louzhu.gulimall.product.entity.CategoryEntity;
import com.louzhu.gulimall.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author jianfneg
 * @email 501039356@qq.com
 * @date 2021-07-12 15:03:31
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void logicRemoveByIds(List<Long> asList);

    List<CategoryEntity> listWithTree();

    Long[] finCatelogPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getFirstLevelCatelog();

    Map<String, List<Catelog2Vo>> getCatalogJson();
}

